package com.mashibing.service;

import com.mashibing.dto.ForecastPrice;
import com.mashibing.dto.ResponseResult;
import com.mashibing.remote.ServicePriceRemote;
import com.mashibing.responsse.ForecastPriceResponse;
import net.sf.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ForecastPriceService {
    @Autowired
    private ServicePriceRemote servicePriceRemote;
    public ResponseResult forecastPrice(ForecastPrice forecastPrice){
        // 返回价格
        ResponseResult responseResult = servicePriceRemote.forecastPrice(forecastPrice);
        return responseResult;
    }
}
